% load zooming_indicator_7_50.mat
% load zoom_indicator_1_7.mat
% 
% zoom_ground_truth = zeros(50000,1);
% zoom_ground_truth(1:7422) = flag_1(1:7422,2);
% 
% last_zoom = zoom_ground_truth(7422);
% for i = 1:10:42571
%     zoom_ground_truth(7421 + i) = flag_7_50(i,2);
% end
% 
% for i = 7432:10:49992
%     zoom_ground_truth(i-5:i+4) = zoom_ground_truth(i);
% end
% 
% zoom_ground_truth(7423:7426) = zoom_ground_truth(7422);
% zoom_ground_truth(49997:50000) = flag_7_50(42581,2);
% 
% % Convert to 1 for zoom in, -1 for zoom out
% zoom_ground_truth = 2*zoom_ground_truth - 3;
% 
% save('zoom_ground_truth.mat','zoom_ground_truth');

load zoom_lect_22.mat

zoom_ground_truth = zeros(50000,1);
for i=6:5:49996
    zoom_ground_truth(i-2:i+2) = zoom_lecture_22(i,2);
end
zoom_ground_truth(1:3) = zoom_lecture_22(1,2);
zoom_ground_truth(49999:50000) = zoom_lecture_22(50001,2);
zoom_ground_truth = 2*zoom_ground_truth - 3;

save('zoom_ground_truth22.mat','zoom_ground_truth');
